Feature: Crear un tag, Crear un nuevo post, agregarle el tag y publicarlo ,y eliminar el post y validar que ya no aparece al buscar por tag

Scenarios

Chart

Status

Progress

1

Passed

100.00%

Failed

0.00%
Total duration:
1m 5.332s

Scenario: Como autor creo un tag, creo un post y le asigno el tag,elimino el post y valido que no aparece en filtro por tag

Before 0m 2.110s
Given I go to page "<HOST>" "ghost/#/signin" 0m 6.992s
And I sign in with "<USERNAME>" and "<PASSWORD>" 0m 1.662s
And I go to page "<HOST>" "ghost/#/tags" 0m 6.644s
And I create new tag with "$number_1" 0m 1.356s
When I click new post 0m 1.241s
And I set post attributes title "$name_1" and body "$string_2" 0m 0.982s
And I select tag with name "$$number_1" 0m 4.332s
And I close settings menu 0m 0.703s
And I publish the post 0m 1.140s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 6.000s
And I filter posts by tag with name "$$number_1" 0m 0.915s
Then I validate the post with "$$name_1" exists 0m 1.038s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 5.789s
And I Click a post with title "$$name_1" 0m 2.882s
And I press settings button 0m 0.858s
And I click delete from settings 0m 5.823s
And I delete post 0m 6.025s
And I go to page "<HOST>" "ghost/#/posts?type=published" 0m 6.486s
And I filter posts by tag with name "$$number_1" 0m 1.332s
Then I validate the post with "$$name_1" not exists 0m 1.009s
After 0m 0.013s

Screenshots

Before
NO IMAGE AVAILABLE
Given I go to page "<HOST>" "ghost/#/signin"
And I sign in with "<USERNAME>" and "<PASSWORD>"
And I go to page "<HOST>" "ghost/#/tags"
And I create new tag with "$number_1"
When I click new post
And I set post attributes title "$name_1" and body "$string_2"
And I select tag with name "$$number_1"
And I close settings menu
And I publish the post
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I filter posts by tag with name "$$number_1"
Then I validate the post with "$$name_1" exists
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I Click a post with title "$$name_1"
And I press settings button
And I click delete from settings
And I delete post
And I go to page "<HOST>" "ghost/#/posts?type=published"
And I filter posts by tag with name "$$number_1"
Then I validate the post with "$$name_1" not exists
After
NO IMAGE AVAILABLE